package org.bbelovic.devel.snake;

public enum Direction {

    LEFT(-1,0), RIGHT(1,0), DOWN(0, 1), UP(0, -1);
    private final int x;
    private final int y;

    private Direction(final int x, final int y) {
        this.x = x;
        this.y = y;
    }
    
    public int getX() {
        return this.x;
    }

    public int getY() {
        return this.y;
    }
}
